继承自 FoxitPDFSDKPython2._object .
|
| def | PrintDeviceSettingData (device_width, device_height, device_margin, orientation, resolution, copies) |
| | 带参数的构造函数。 更多...
|
| |
| def | Set (device_width, device_height, device_margin, orientation, resolution, copies) |
| | 设置值。 更多...
|
| |
|
|
| copies = _fsdk.PrintDeviceSettingData_copies |
| | 要打印的份数。此参数仅对PostScript文件有效。
|
| |
|
| device_height = _fsdk.PrintDeviceSettingData_device_height |
| | 设备的高度(以像素为单位)。
|
| |
| | device_margin = _fsdk.PrintDeviceSettingData_device_margin |
| | 设备的页边距。 更多...
|
| |
|
| device_width = _fsdk.PrintDeviceSettingData_device_width |
| | 设备的宽度(以像素为单位)。
|
| |
|
| e_Landscape = _fsdk.PrintDeviceSettingData_e_Landscape |
| | 打印的横向方向。
|
| |
|
| e_Portrait = _fsdk.PrintDeviceSettingData_e_Portrait |
| | 打印的纵向方向。
|
| |
|
| orientation = _fsdk.PrintDeviceSettingData_orientation |
| | 方向标志。请参考从 开始的值, 这应该是其中的一个值。
|
| |
|
| resolution = _fsdk.PrintDeviceSettingData_resolution |
| | 设备的分辨率,以每英寸像素数为单位。
|
| |
此类表示打印设备的设置数据。这将在类 Renderer 中使用。
- 参见
- Renderer
◆ PrintDeviceSettingData()
| def FoxitPDFSDKPython2.PrintDeviceSettingData.PrintDeviceSettingData |
( |
|
device_width, |
|
|
|
device_height, |
|
|
|
device_margin, |
|
|
|
orientation, |
|
|
|
resolution, |
|
|
|
copies |
|
) |
| |
带参数的构造函数。
带另一个打印设备设置数据对象的构造函数。
构造函数并设置默认值。
- 参数
-
◆ Set()
| def FoxitPDFSDKPython2.PrintDeviceSettingData.Set |
( |
|
device_width, |
|
|
|
device_height, |
|
|
|
device_margin, |
|
|
|
orientation, |
|
|
|
resolution, |
|
|
|
copies |
|
) |
| |
◆ device_margin
| FoxitPDFSDKPython2.PrintDeviceSettingData.device_margin = _fsdk.PrintDeviceSettingData_device_margin |
|
static |
设备的页边距。
- 注解
- 此值不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。该值不应为负数。